import Vue from 'vue'
import App from './App'
 
Vue.config.productionTip = false

App.mpType = 'app'

import uView from 'uview-ui';
Vue.use(uView);

import store from '@/store';
let vuexStore = require('@/store/$u.mixin.js');
Vue.mixin(vuexStore);

// 引入uView对小程序分享的mixin封装
// let mpShare = require('uview-ui/libs/mixin/mpShare.js');
// Vue.mixin(mpShare);


const app = new Vue({
	store,
    ...App
})

//自定义方法
import functions from '@/common/functions.js'
Vue.use(functions,app)
//拦截器
import httpInterceptor from '@/common/http.interceptor.js'
Vue.use(httpInterceptor, app)
//接口
import httpApi from '@/common/http.api.js'
Vue.use(httpApi,app)

app.$mount()
